import HttpRequest from './httpRequest';
import config from '@/utils/request/config';

export const request = HttpRequest.request.bind(HttpRequest);
export const cancelRequest = HttpRequest.cancelRequest.bind(HttpRequest);
export const cancelAllRequests = HttpRequest.cancelAllRequests.bind(HttpRequest);

export { config as requestConfig };
